:root {
    --primary-gold: #FFD700;
    --gold-light: #FFF6CC;
    --gold-dark: #E6C200;
    --gold-accent: #FFEC8B;
    --text-dark: #333;
    --text-light: #666;
    --border-light: #eee;
    --bg-light: #f9f9f9;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
}

body {
    background-color: #f5f7fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    padding-top: 80px;
}

/* 订单页面样式 */
.order-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.order-header h2 {
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
}

.order-tabs {
    display: flex;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 30px;
}

.order-tab {
    padding: 15px 25px;
    text-align: center;
    cursor: pointer;
    flex: 1;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    position: relative;
}

.order-tab.active {
    border-bottom: 3px solid var(--primary-gold);
    background: var(--gold-light);
    color: var(--text-dark);
    font-weight: 600;
}

.order-tab:hover:not(.active) {
    background: rgba(255, 215, 0, 0.1);
}

.order-tab .badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--danger);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
}

.order-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    overflow: hidden;
    border-left: 4px solid var(--primary-gold);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--gold-light);
    border-bottom: 1px solid var(--border-light);
}

.order-info {
    display: flex;
    flex-direction: column;
}

.order-id {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.order-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.order-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

.status-pending {
    background: var(--warning);
    color: #fff;
}

.status-receiving {
	background: var(--success);
    color: #fff;
}
.status-shipping {
    background: var(--info);
    color: #fff;
}

.status-completed {
    background: var(--success);
    color: #fff;
}

.status-cancelled {
    background: var(--danger);
    color: #fff;
}

.order-card-body {
    padding: 20px;
}

.order-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
}

.order-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 20px;
}

.item-details {
    flex: 1;
}

.item-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.item-price {
    color: var(--text-light);
    font-size: 0.95rem;
}

.item-quantity {
    color: var(--text-light);
    font-size: 0.9rem;
}

.order-summary {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-light);
}

.summary-label {
    color: var(--text-light);
}

.summary-value {
    font-weight: 600;
    color: var(--text-dark);
}

.total-amount {
    font-size: 1.2rem;
    color: var(--danger);
}

.order-card-footer {
    display: flex;
    justify-content: flex-end;
    padding: 15px 20px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.order-action {
    margin-left: 10px;
}

.btn-gold {
    background-color: var(--primary-gold);
    color: var(--text-dark);
    border: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-gold:hover {
    background-color: var(--gold-dark);
    color: white;
}

.btn-outline-gold {
    background-color: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline-gold:hover {
    background-color: var(--primary-gold);
    color: var(--text-dark);
}

.empty-orders {
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.empty-orders i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-orders h3 {
    color: var(--text-light);
    margin-bottom: 15px;
}

.order-search {
    display: flex;
    gap: 10px;
    max-width: 400px;
}

.order-search input {
    flex: 1;
}